import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
const store = new Vuex.Store({
    state: {
        openid: '',
        version: '',

    },
    mutations: {
        cleaning(state) {
            state.openid = ''
            state.version = ''
        },
    },
    actions: {
        LogOut(context) {
            context.commit('cleaning')
        },
    },
    modules: {}
})

export default store
